﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MobileAPI.DAL
{
    public sealed class DALFactory
    {
        private static DALFactory instance;
        public static DALFactory getInstance()
        {
            if (instance == null)
                instance = new DALFactory();
            return instance;
        }

        public DALRepairsInfo CreateRepairsInfoDAL()
        {
            return new DALRepairsInfo();
        }
        public DALLogin CreateLoginDAL()
        {
            return new DALLogin();
        }
        public DALWorkOrder CreateWorkOrderDAL()
        {
            return new DALWorkOrder();
        }
        public DALCustomerInfo CreateCustomerInfoDAL()
        {
            return new DALCustomerInfo();
        }
        public DALRepairsState CreateRepairsStateDAL()
        {
            return new DALRepairsState();
        }

    }
}
